package com.streamax.s17.mqs.business.common;

import com.streamax.s17.cloud.common.BusinessException;
import com.streamax.s17.cloud.common.model.ResponseCode;

/**
 * DTMS 的业务异常类型
 *
 * @author 黄金宏
 * @since jdk1.8
 */
public class MqsBusinessException extends BusinessException {
    private static final long serialVersionUID = 1L;

    public MqsBusinessException(ResponseCode responseCode, String... args) {
        super(responseCode, args);
    }

    public MqsBusinessException(String code, String message) {
        super(code, message);
    }

    public MqsBusinessException(Integer code, String message) {
        this(String.valueOf(code), message);
    }
}
